﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using SIGERP_Entidades;
using SIGERP_Negocio;

using System.Data.SqlClient;

namespace SIGERP_Presentacion
{
    public partial class frmABM : Form
    {
        

        public frmABM()
        {
            InitializeComponent();
        }

        public virtual void CargarGrilla()
        {

        }

        public virtual void busqueda()
        {

        }

        public virtual void agregar()
        {

        }

        public virtual void eliminar()
        {

        }

        public virtual void editar()
        {

        }

        private void frmPais_Load(object sender, EventArgs e)
        {
            CargarGrilla();
        }

        private void mnuSalir_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void btnBuscar_Click(object sender, EventArgs e)
        {
          
        }        

        private void btnAgregar_Click(object sender, EventArgs e)
        {
            agregar(); 
        }

        private void mnuEliminar_Click(object sender, EventArgs e)
        {
            eliminar(); 
        }

        private void btnEditar_Click(object sender, EventArgs e)
        {
            editar();
        }

        private void Grilla_DoubleClick(object sender, EventArgs e)
        {
            editar();
        }

        private void txtPais_TextChanged(object sender, EventArgs e)
        {
            busqueda(); 
        }

    }
}